<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<script type="text/javascript">
		function Person(){}
		var p = new Person();
		console.log(p instanceof Person)
		console.log(p.__proto__ === Person.prototype)

		console.log("===================")

		function Person(){}
		function Student(){}
		var p=new Person()
		Student.prototype=p;
		var s=new Student()
		console.log(s instanceof Student) 
		console.log(s instanceof Person) 

		console.log("===================")

		function Person(){}
		console.log(Object instanceof Object)
		

	</script>
</body>
</html>